Skip to content

Fix : GemVersion TypeError unhashable type: 'list' - #98

Merged
TG1999 merged 3 commits into
aboutcode-org:mainfrom
ziadhany:gem-fix
Feb 10, 2023
Merged

Fix : GemVersion TypeError unhashable type: 'list'#98
TG1999 merged 3 commits into
aboutcode-org:mainfrom
ziadhany:gem-fix

Conversation

@ziadhany

@ziadhany ziadhany commented Feb 7, 2023

Copy link
Copy Markdown
Contributor

Signed-off-by: ziadhany ziadhany2016@gmail.com

@TG1999

TG1999 commented Feb 8, 2023

Copy link
Copy Markdown
Contributor

@ziadhany please update your branch with latest main

fix test_canonical_segments test

Signed-off-by: ziadhany <ziadhany2016@gmail.com>
@TG1999

TG1999 commented Feb 8, 2023

Copy link
Copy Markdown
Contributor

@ziadhany please add a test to verify your changes

@pombredanne pombredanne left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! we still would want to have a hash() test to validate we can hash a GemVersion... this is good to go otherwise.

Comment thread tests/test_rubygems_gem_version.py
@pombredanne

Copy link
Copy Markdown
Member

@TG1999 if you want to add the test and merge, you can then cut a release IMHO :)

Reference: aboutcode-org/vulnerablecode#926
Reference: aboutcode-org/vulnerablecode#608
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
@pombredanne

Copy link
Copy Markdown
Member

@TG1999 if you want to add the test and merge, you can then cut a release IMHO :)

I committed the new test!

Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
@TG1999
TG1999 merged commit 053dfc1 into aboutcode-org:main Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants